// const ajax = require('./other/ajax.js');
require('./style/main.css');
const util = require('./other/util.js');
const session = require('./other/session.js');
const storage = require('./other/storage.js');
const optionSide = require('./other/optionSide.js');
const alert = require('./other/alert.js');
const checkList = require('./other/checkList');

const loading = require('./loading/loading');
const paging = require('./other/paging.js');
const from = require('./from/form');

const datagrid = require('./other/datagrid');
const table = require('./other/table');

const templateForm = require('./from/templateForm');


// require('./loading/loading.js');
// console.log($);

var formElement = {
    chooseBase: from.default.chooseBase,
    input: from.default.input,
    inputDate: from.default.inputDate,
    select: from.default.select,
    textarea: from.default.textarea,
    radio: from.default.radio,
    CKeditor: from.default.CKeditor,
    uploadFileEx: from.default.uploadFileEx,
};



module.exports = {
    templateForm: templateForm.default,
    table: table.default,
    checkList: checkList.default,
    formElement: formElement,
    form: from.default.form,
    alert: alert.default,
    loading: loading.default,
    paging: paging.default,
    datagrid: datagrid.default,
    session: session.default,
    storage: storage.default,
    optionSide: optionSide.default,
    util: util.default,
    // ajax: ajax.default,
}